package com.taotao.complier.calcu.ast;

import com.taotao.complier.calcu.lex.Token;
import com.taotao.complier.calcu.visit.Visitor;
import lombok.Getter;

public class MulDivNode implements AstNode {
    @Getter
    protected Token token;

    public MulDivNode(Token token) {
        this.token = token;
    }

    @Override
    public void accept(Visitor visitor) {
        visitor.visitMulDiv(this);
    }

    @Override
    public String toString() {
        return "MulDivNode{" +
                "token=" + token +
                '}';
    }
}
